/*
  ==============================================================================

    IfXmlHandler.h
    Created: 11 Jan 2015 12:58:55am

  ==============================================================================
*/

#ifndef IFXMLHANDLER_H_INCLUDED
#define IFXMLHANDLER_H_INCLUDED

#include "../JuceLibraryCode/JuceHeader.h"

#include "DataProject.h"

// For vectors see also: http://www.cplusplus.com/reference/vector/vector/vector/
#include <list>


class IfXmlHandler {
public:
	IfXmlHandler(File);
	~IfXmlHandler();
	int LoadAllProjects();
	void IterateAllProjects();

private:
	//XmlDocument m_xmlMainDocument;
	/// This holds the Top of the loaded XML document.
	XmlElement *m_xmlMainElement;

	std::list<DataProject*> m_lstProjectData;
};



#endif  // IFXMLHANDLER_H_INCLUDED
